# -*- coding: utf-8 -*-
"""
Created on Tue Apr 30 11:31:07 2024

@author: YANCL
"""

# P14 均值滤波
# %%
import cv2

Original = cv2.imread("photo/LenaRGB.bmp", cv2.IMREAD_UNCHANGED)
r = cv2.blur(Original,(3,3))    #核 - 权重相等 - 均值滤波
cv2.imshow("original", Original)
cv2.imshow("JunZhi Lvbo",  r)

cv2.waitKey()
cv2.destroyAllWindows()

